package com.example.demos.service.impl;

import com.example.demos.dto.bymonth.ByMonthDTO;
import com.example.demos.dto.bymonth.ByMonthDetailDTO;
import com.example.demos.entity.Emp;
import com.example.demos.mapper.ByMonthMapper;
import com.example.demos.service.ByMonthService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ByMonthServiceImpl implements ByMonthService {
    @Autowired
    private ByMonthMapper byMonthMapper;

    @Override
    public List<ByMonthDetailDTO> select1(String year) {
        System.out.println(year);
        return byMonthMapper.select1(year);
    }
}
